from src.LogPlayer.utils.CommonUtil import timestamp2Str
class LogLine:
    timeStamp: int
    pid: int
    tid: int
    level: str
    tag: str
    message: str
    _lineNo: int
    _fileId: int = 0
    _flags: int = 0

    def __str__(self):
        return "timeStamp:%d,%s,pid:%d,tid:%d,level:%s,tag:%s,_lineNo:%d,_fileId:%d,_flags:%d,msg:%s" % (
        self.timeStamp, timestamp2Str(self.timeStamp), self.pid, self.tid, self.level, self.tag, self._lineNo, self._fileId, self._flags,self.message)
